package cn.bd13.swagger.dao;

import cn.bd13.swagger.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName：UserDao
 * Package:cn.bd13.swagger.dao
 * Description:
 *
 * @Date:2020/5/12 22:16
 * @Author:zhangqiang@kgc.cn
 */
public interface UserDao {

    User queryUserName(String name);

    int modifyUserName(@Param("id") String id, @Param("name") String name);

    List<User> getAllUser();
}
